home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / irit40s.lha / Irit / irit / primitiv.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-30  |  1.6 KB  |  34 lines

  1. /*****************************************************************************
  2. *   "Irit" - the 3d (not only polygonal) solid modeller.             *
  3. *                                         *
  4. * Written by:  Gershon Elber                Ver 0.2, Mar. 1990   *
  5. ******************************************************************************
  6. * General, visible to others, definitions of primitiv module.             *
  7. *****************************************************************************/
  8.  
  9. #ifndef    PRIMITIV_H
  10. #define    PRIMITIV_H
  11.  
  12. int GetResolution(int ClipToMin);
  13. IPObjectStruct *GenBOXObject(VectorType Pt, RealType *WidthX,
  14.                     RealType *WidthY, RealType *WidthZ);
  15. IPObjectStruct *GenGBOXObject(VectorType Pt,
  16.             VectorType Dir1, VectorType Dir2, VectorType Dir3);
  17. IPObjectStruct *GenCONEObject(VectorType Pt, VectorType Dir, RealType *R);
  18. IPObjectStruct *GenCONE2Object(VectorType Pt, VectorType Dir, RealType *R1,
  19.                                  RealType *R2);
  20. IPObjectStruct *GenCYLINObject(VectorType Pt, VectorType Dir, RealType *R);
  21. IPObjectStruct *GenSPHEREObject(VectorType Center, RealType *R);
  22. IPObjectStruct *GenTORUSObject(VectorType Center, VectorType Normal,
  23.                     RealType *Rmajor, RealType *Rminor);
  24. IPObjectStruct *GenPOLYDISKObject(VectorType N, VectorType T, RealType *R);
  25. IPObjectStruct *GenPOLYGONObject(IPObjectStruct *PObjList,
  26.                         RealType * RIsPolyline);
  27. IPObjectStruct *GenObjectFromPolyList(IPObjectStruct *PObjList);
  28. IPObjectStruct *GenCROSSECObject(IPObjectStruct *PObj);
  29. IPObjectStruct *GenSURFREVObject(IPObjectStruct *Cross);
  30. IPObjectStruct *GenEXTRUDEObject(IPObjectStruct *Cross, VectorType Dir);
  31. void UpdatePolyPlane(IPPolygonStruct *PPoly, VectorType Vin);
  32.  
  33. #endif    /* PRIMITIV_H */
  34.